package ds;

import java.util.ArrayList;
import java.util.HashMap;

public class BugInfo {
	
	public String bugID;
	public String label;
	public String content;
	
	public HashMap<Integer, Double> wordId2TF;
	public ArrayList<Double> termWeight;
	
	public BugInfo(){
		bugID = "";
		label = "";
		content ="";
		
		wordId2TF = new HashMap<Integer, Double>();
		termWeight = new ArrayList<Double>();
	}
	
	public BugInfo(BugInfo bug){
		this.bugID = bug.bugID;
		this.label = bug.label;
		this.content = bug.content;
		
		this.wordId2TF = new HashMap<Integer, Double>();
        this.wordId2TF.putAll(bug.wordId2TF);
		this.termWeight = new ArrayList<Double>();
		this.termWeight.addAll(bug.termWeight);
	}
}
